package ooday05;
/**枚举演示*/
public enum Season {
        //SPRING,SUMMER,AUTUMN,WINTER固定四个枚举对象
        SPRING("春天","暖和"),
        SUMMER("夏天","酷热"),
        AUTUMN("秋天","爆热"),
        WINTER("冬天","冷");
        public String seasonName;
        public String seasonDesc;

        Season(String seasonName, String seasonDesc) {
                this.seasonName = seasonName;
                this.seasonDesc = seasonDesc;
        }

        public String getSeasonName() {
                return seasonName;
        }

        public void setSeasonName(String seasonName) {
                this.seasonName = seasonName;
        }

        public String getSeasonDesc() {
                return seasonDesc;
        }

        public void setSeasonDesc(String seasonDesc) {
                this.seasonDesc = seasonDesc;
        }
}
